package com.example.cloudcashierpos.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

//前台单据明细表
@Entity
public class corecmsfoodorderdetail {
    // 序列
    @Id
    private long id;

    // 订单id
    private long orderId;

    // 本单行号
    private Integer entryNo;

    // 菜品ID
    private long foodId;

    // 规格ID
    private long foodSpecId;

    // 菜品编码
    private String number;

    // 菜品名称
    private String name;

    // 规格名称
    private String specName;

    // 换算系数
    private double convert;

    // 数量
    private double quantity;

    // 原价
    private double price;

    // 实价
    private double realPrice;

    // 折扣
    private double discount;

    // 原金额
    private double amount;

    // 实收金额
    private double realAmount;

    // 做法金额
    private double taskAmount;

    // 加料金额
    private double feedAmount;

    // 优惠金额
    private double reduceAmount;

    // 小计
    private double allAmount;

    // 成本价
    private double costPrice;

    // 套菜内品执行价格
    private double setPrice=0;

    // 套餐数量
    private double foodPackQuantity;

    // 原Id,corecmsfoodordering.sourceId=corecmsfoodordering.sourceId)
    private long sourceId;

    // 类型
    private int itemType;

    // 销售类型(1正常，0赠送,-1退货，2打折)
    private int dataType;

    // 菜品数(1菜品，0套菜) 因为计算菜品数，所以不能有其它数值
    private int itemCount;

    // 餐套主菜Id
    private long foodPackId;

    // 菜品分类Id
    private long foodTypeId;

    // 打包标记
    private String parcel;

    // 做法名称
    private String taskTitle;

    // 加料名称
    private String feedTitle;

    // 备注
    private String remark;

    // 下单人Id
    private Integer billerId;

    @Generated(hash = 283034753)
    public corecmsfoodorderdetail(long id, long orderId, Integer entryNo,
            long foodId, long foodSpecId, String number, String name,
            String specName, double convert, double quantity, double price,
            double realPrice, double discount, double amount, double realAmount,
            double taskAmount, double feedAmount, double reduceAmount,
            double allAmount, double costPrice, double setPrice,
            double foodPackQuantity, long sourceId, int itemType, int dataType,
            int itemCount, long foodPackId, long foodTypeId, String parcel,
            String taskTitle, String feedTitle, String remark, Integer billerId) {
        this.id = id;
        this.orderId = orderId;
        this.entryNo = entryNo;
        this.foodId = foodId;
        this.foodSpecId = foodSpecId;
        this.number = number;
        this.name = name;
        this.specName = specName;
        this.convert = convert;
        this.quantity = quantity;
        this.price = price;
        this.realPrice = realPrice;
        this.discount = discount;
        this.amount = amount;
        this.realAmount = realAmount;
        this.taskAmount = taskAmount;
        this.feedAmount = feedAmount;
        this.reduceAmount = reduceAmount;
        this.allAmount = allAmount;
        this.costPrice = costPrice;
        this.setPrice = setPrice;
        this.foodPackQuantity = foodPackQuantity;
        this.sourceId = sourceId;
        this.itemType = itemType;
        this.dataType = dataType;
        this.itemCount = itemCount;
        this.foodPackId = foodPackId;
        this.foodTypeId = foodTypeId;
        this.parcel = parcel;
        this.taskTitle = taskTitle;
        this.feedTitle = feedTitle;
        this.remark = remark;
        this.billerId = billerId;
    }

    @Generated(hash = 2112281676)
    public corecmsfoodorderdetail() {
    }

    public long getId() {
        return this.id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getOrderId() {
        return this.orderId;
    }

    public void setOrderId(long orderId) {
        this.orderId = orderId;
    }

    public Integer getEntryNo() {
        return this.entryNo;
    }

    public void setEntryNo(Integer entryNo) {
        this.entryNo = entryNo;
    }

    public long getFoodId() {
        return this.foodId;
    }

    public void setFoodId(long foodId) {
        this.foodId = foodId;
    }

    public long getFoodSpecId() {
        return this.foodSpecId;
    }

    public void setFoodSpecId(long foodSpecId) {
        this.foodSpecId = foodSpecId;
    }

    public String getNumber() {
        return this.number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSpecName() {
        return this.specName;
    }

    public void setSpecName(String specName) {
        this.specName = specName;
    }

    public double getConvert() {
        return this.convert;
    }

    public void setConvert(double convert) {
        this.convert = convert;
    }

    public double getQuantity() {
        return this.quantity;
    }

    public void setQuantity(double quantity) {
        this.quantity = quantity;
    }

    public double getPrice() {
        return this.price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public double getRealPrice() {
        return this.realPrice;
    }

    public void setRealPrice(double realPrice) {
        this.realPrice = realPrice;
    }

    public double getDiscount() {
        return this.discount;
    }

    public void setDiscount(double discount) {
        this.discount = discount;
    }

    public double getAmount() {
        return this.amount;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }

    public double getRealAmount() {
        return this.realAmount;
    }

    public void setRealAmount(double realAmount) {
        this.realAmount = realAmount;
    }

    public double getTaskAmount() {
        return this.taskAmount;
    }

    public void setTaskAmount(double taskAmount) {
        this.taskAmount = taskAmount;
    }

    public double getFeedAmount() {
        return this.feedAmount;
    }

    public void setFeedAmount(double feedAmount) {
        this.feedAmount = feedAmount;
    }

    public double getReduceAmount() {
        return this.reduceAmount;
    }

    public void setReduceAmount(double reduceAmount) {
        this.reduceAmount = reduceAmount;
    }

    public double getAllAmount() {
        return this.allAmount;
    }

    public void setAllAmount(double allAmount) {
        this.allAmount = allAmount;
    }

    public double getCostPrice() {
        return this.costPrice;
    }

    public void setCostPrice(double costPrice) {
        this.costPrice = costPrice;
    }

    public double getSetPrice() {
        return this.setPrice;
    }

    public void setSetPrice(double setPrice) {
        this.setPrice = setPrice;
    }

    public double getFoodPackQuantity() {
        return this.foodPackQuantity;
    }

    public void setFoodPackQuantity(double foodPackQuantity) {
        this.foodPackQuantity = foodPackQuantity;
    }

    public long getSourceId() {
        return this.sourceId;
    }

    public void setSourceId(long sourceId) {
        this.sourceId = sourceId;
    }

    public int getItemType() {
        return this.itemType;
    }

    public void setItemType(int itemType) {
        this.itemType = itemType;
    }

    public int getDataType() {
        return this.dataType;
    }

    public void setDataType(int dataType) {
        this.dataType = dataType;
    }

    public int getItemCount() {
        return this.itemCount;
    }

    public void setItemCount(int itemCount) {
        this.itemCount = itemCount;
    }

    public long getFoodPackId() {
        return this.foodPackId;
    }

    public void setFoodPackId(long foodPackId) {
        this.foodPackId = foodPackId;
    }

    public long getFoodTypeId() {
        return this.foodTypeId;
    }

    public void setFoodTypeId(long foodTypeId) {
        this.foodTypeId = foodTypeId;
    }

    public String getParcel() {
        return this.parcel;
    }

    public void setParcel(String parcel) {
        this.parcel = parcel;
    }

    public String getTaskTitle() {
        return this.taskTitle;
    }

    public void setTaskTitle(String taskTitle) {
        this.taskTitle = taskTitle;
    }

    public String getFeedTitle() {
        return this.feedTitle;
    }

    public void setFeedTitle(String feedTitle) {
        this.feedTitle = feedTitle;
    }

    public String getRemark() {
        return this.remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getBillerId() {
        return this.billerId;
    }

    public void setBillerId(Integer billerId) {
        this.billerId = billerId;
    }
}
